package de.riceman.simpleGo.view.views.visualizationView;

public class ForcedNode extends Node {
  private Vector3D force = new Vector3D(0,0,0);
  private double diameter;
  
  public ForcedNode(int id, double mass, double diameter, Vector3D position) {
    super(id, mass, position);
    this.diameter = diameter;
  }
  
  public void setForce(Vector3D force) {
    this.force = force;
  }
  
  public Vector3D getForce() {
    return force;
  }
  
  public void applyForce(Vector3D force) {
    this.force = this.force.add(force);
  }

  public double getDiameter() {

	return diameter;
  }
}

